//
//  BITCocoaLumberjackMacro.h
//
//  Created by jiaguoshang on 2018/11/28.
//  Copyright © 2018年 jiaguoshang All rights reserved.
//

#ifndef PrefixHeader_h
#define PrefixHeader_h

//异步日志处理和测试环境，现网环境切换宏
#ifndef TEST_XCODE_COLORS
//当发布正式服务器时需要置为0，就能关闭日志系统
#define TEST_XCODE_COLORS 1
#else
#endif

//#if TEST_XCODE_COLORS
//#import "BITCocoaLumberjack.h"
//#import "BITCocoaLumberjackMacro.h"
//static NSUInteger bitLogLevel = BITDDLogLevelVerbose;
//#define NSLog(...) NSLog(__VA_ARGS__)
//#else
//#import "BITCocoaLumberjackNoLogsMacro.h"
//#define NSLog(...)
//#endif

//#import "BITCocoaLumberjack.h"
//#import "BITCocoaLumberjackMacro.h"
#import "BITCocoaLumberjackTest.h"

#if TEST_XCODE_COLORS
static NSUInteger bitLogLevel = BITDDLogLevelVerbose;
#define NSLog(...) NSLog(__VA_ARGS__)
#else
static NSUInteger bitLogLevel = BITDDLogLevelOff;
#define NSLog(...)
#endif

#endif /* PrefixHeader_h */
